#ifndef CAMERA_PRIVATE_H
#define CAMERA_PRIVATE_H
#include <qobject.h>
#include "Camera.h"
#include "script/ScriptHelper.h"

class CameraPrivate : public QObject,public ICamera,public ScriptHelper
{
	Q_OBJECT
public:
	CameraPrivate(QObject* parent = nullptr);
	~CameraPrivate();
public:
	QString getModule()const { return "Camera"; }

	Viewpoint getViewport()const;
	void flyTo(const Viewpoint& viewpoint,double time);
	bool flyTo(const QStringList& argument,QString* error = nullptr);
};


#endif
